/* 封装本体存储 */
/* 定义键 */
const KEY = 'my-token-vant'
// 拿出本地存储
export const getToken = () => localStorage.getItem(KEY)
// 发送到本地存储
export const setToken = (Token) => localStorage.setItem(KEY, Token)
// 删除本地存储
export const delToken = () => localStorage.removeItem(KEY)

const CITY = 'my-city'
// 拿出本地存储
export const getStr = () => localStorage.getItem(CITY)
// 发送到本地存储
export const setStr = (Token) => localStorage.setItem(CITY, Token)
// 删除本地存储
export const delStr = () => localStorage.removeItem(CITY)
